﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace ArgusLib.Controls
{
	public class ToolStripPanel : System.Windows.Forms.ToolStripPanel
	{
		public ToolStripPanel()
			: base()
		{
			this.BackColor = Color.Black;
			if (ArgusLib.Environment.Runtime == Runtime.Mono)
				base.BackColor = SystemColors.Control;
		}

		public override Color BackColor
		{
			get
			{
				return base.BackColor;
			}
			set
			{
				if (ArgusLib.Environment.Runtime == Runtime.Mono)
					return;
				base.BackColor = value;
			}
		}
	}
}
